package com.modules.service.sys;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.vo.Result;
import com.modules.entity.sys.DictEntity;
import com.modules.entity.sys.DictSettingEntity;

/**
 * service 字典
 * @author yyq
 */
public interface DictService extends IService<DictEntity>{


	Result<?> getDictAll();
	
	Result<?> selectSetting(Page<DictSettingEntity> page, Long did);

	Result<?> removeByIdSetting(String id);

	Result<?> saveOrUpdateSetting(DictSettingEntity dict);

	Result<?> getDictText(String code, String value);

	Result<?> getDictSetting(String code);

	Result<?> updateSettingState(DictSettingEntity dict);
	
}
